<?php
namespace Popshouse\SiteBundle\Form;


use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class EntryForm extends AbstractType
{
    
	public function buildForm(FormBuilder $builder, array $options)
    {
    	$builder->add('name');
        
        $builder->add('email');
       
        $builder->add('place','text',array('required'=>false));
        
        $builder->add('bericht');
        
        /*$builder->add('name');
        $builder->add('price', 'money', array('currency' => 'USD'));*/
    }

    public function getDefaultOptions(array $options)
    {
        return array(
            'data_class' => 'Popshouse\SiteBundle\Entity\Entry',
        );
    }


}
